import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import { generate } from '@feidao/core/querystring';

export default async function a009(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	// 切换每页显示的条数
	const page_size = parseInt(args[0].currentTarget.value);
	const query = fd.data.params;
	query['page_size'] = page_size;
	query['page-no'] = 1;
	window.location.href = generate(query);
}
